package com.zmm.study.order.dao;

import com.zmm.study.order.vo.OrderItemVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 900045
 * @description:
 * @name CartDao
 * @date By 2021-10-21 09:34:53
 */
@Mapper
public interface CartDao {
	
	/**
	 * 根据用户ID 查询 购物车项
	 * @author: 900045
	 * @date: 2021-10-21 09:36:23
	 * @throws 
	 * @param userId: 
	 * @return: java.util.List<com.zmm.study.order.vo.OrderItemVo>
	 **/
	List<OrderItemVo> findCartByUserId(@Param("userId") Integer userId);
}
